package com.cpa.admin.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Time;
import java.sql.Timestamp;

/**
 * @author zhen.zhao01
 * @CreateDate 2018/11/3
 */
@Data
public class ProductVo {

    private String id;

    /**产品名称*/
    private String productName;

    /**产品单价*/
    private BigDecimal productAmount;

    /**结算时间*/
    private Time settleTime;

    /**总结算量*/
    private Long settleNumber;

    /**结算总金额*/
    private BigDecimal settleTotal;

    /**备注*/
    private String remark;

    /**创建时间*/
    private Timestamp createTime;


    /** 创建者*/
    private String createUsername;

    private Integer status;



    public ProductVo(String id, String productName, Time settleTime) {
        this.id = id;
        this.productName = productName;
        this.settleTime = settleTime;
    }
    public ProductVo(String id, String productName, BigDecimal productAmount, Time settleTime, Long settleNumber, BigDecimal settleTotal, String remark, Timestamp createTime, String createUsername, Integer status) {
        this.id = id;
        this.productName = productName;
        this.productAmount = productAmount;
        this.settleTime = settleTime;
        this.settleNumber = settleNumber;
        this.settleTotal = settleTotal;
        this.remark = remark;
        this.createTime = createTime;
        this.createUsername = createUsername;
        this.status = status;
    }
}
